package git12;
import java.util.Random;
public class Create {

      public  String createPas(int length) {
          String newPas = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
          Random random = new Random();
          StringBuilder ran = new StringBuilder();
          for (int i = 0; i < length; i++) {
              int rand = random.nextInt(newPas.length());
              char ranChar = newPas.charAt(rand);
              ran.append(ranChar);
          }
          return ran.toString();
      }
}
